package com.jxust.mapper;

import com.jxust.pojo.Student;
import com.jxust.pojo.StudentQueryParam;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface StuMapper {

    List<Student> list(StudentQueryParam studentQueryParam);

    /*
     * 根据ID批量删除学生信息
     */
    void deleteByIds(@Param( "ids") List<Integer> ids);

    void insert(Student student);
}
